package com.qianfeng.propertygroup.service.intf;

import com.github.pagehelper.PageInfo;
import com.qianfeng.propertygroup.pojo.Publicboard;
import com.qianfeng.propertygroup.vo.PublicboardVo;

import java.util.Date;

/**
 * @author LiXuekai on 2020/12/22
 */

public interface PublicboardService {
    void addPublicboard(Publicboard publicboard);

    void updatePublicboard(Publicboard publicboard);

    void deletePublicboard(Long id);

    PageInfo<PublicboardVo> getAllPublicboard(int pageNum, int pageSize);

    PageInfo<Publicboard> getPublicboardBuDates(int pageNum, int pageSize, Date date);



}
